﻿<%@ Page Language="C#" MasterPageFile="~/BasicBase/BasicBase.master" AutoEventWireup="true" CodeFile="SocLinkeList.aspx.cs"  StylesheetTheme="Content" Inherits="BasicBase_SocLinke_SocLinkeEdit" Title="社会联动信息修改" %>
<%@ Register Src="~/UserContral/ListPageContral.ascx" tagname="ListPageContral" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <link rel="stylesheet" type="text/css" href="easyUI/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="easyUI/themes/icon.css">
	<script type="text/javascript" src="easyUI/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="easyUI/jquery.easyui.min.js"></script>
	<script language="javascript">
		$(function(){
			$('#sort01').combobox({
				url:'SocLinke.ashx?act=BigSort&m'+Math.random(),
				valueField:'id',
				width:'100',
				textField:'text'
			});
			$('#dep').combobox({
				url:'SocLinke.ashx?act=dep&dep=<%=GetDepartmentid() %>&m'+Math.random(),
				valueField:'id',
				width:'100',
				textField:'text'
			});
			
			$('#ProName').combobox({
				url:'SocLinke.ashx?act=PropName&m'+Math.random(),
				valueField:'id',
				width:'50',
				textField:'text'
			});

		});
		function deleteCheck(id,name)
		{
			var aa= window.confirm("你确定要删除“"+name+"”这条信息吗。");
			if (aa) {
				window.location="SocLinkeList.aspx?act=delete&id="+id;
			}

		}
	</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="40" height="25" >单位：</td>
      <td width="100"><select id="dep"   name="dep" style="width:100px;">
	</select></td>
      <td width="40">类别：</td>
      <td width="100"><select id="sort01" class="easyui-combobox"  name="sort01" style="width:100px;" >
	</select></td>
      <td width="70" id="InfoNameTxt">单位名称：</td>
      <td width="90"><input name="InfoName" class="easyui-validatebox" type="text" style="width:90px;"/></td>
      <td >属性：</td>
      <td ><select id="ProName" class="easyui-combobox"  name="ProName" style="width:60px;" >
	</select></td>
      <td >数量：</td>
      <td ><input name="proCount" type="text" class="easyui-validatebox" id="proCount" style="width:30px;"/></td>
      <td ><asp:Button ID="Button1" runat="server" Text="查询" OnClick="Button1_Click" />
          <asp:Button ID="Button2" runat="server" Text="添加" OnClick="Button2_Click" />
        </td>
    </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="dialog" width="770px">
        <caption>
            <span>社会联动信息查询结果</span></caption>
    </table>
    
    
    
   
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
  <tr>
    <td colspan="2" align="center" style=" height:20px; border-right-style:dotted; border-right-color:#cee7f7; border-right-width:1px; ">单位名称</td>
    <td width="70" align="center" style=" height:20px; border-right-style:dotted; border-right-color:#cee7f7; border-right-width:1px; ">电话</td>
    <td width="60" align="center" style=" height:20px; border-right-style:dotted; border-right-color:#cee7f7; border-right-width:1px; ">联系人</td>
    <td width="70" align="center" style=" height:20px; border-right-style:dotted; border-right-color:#cee7f7; border-right-width:1px; ">传真</td>
    <td width="120" align="center" style=" height:20px; border-right-style:dotted; border-right-color:#cee7f7; border-right-width:1px; ">地址</td>
    <td width="70" align="center" style=" height:20px; border-right-style:dotted; border-right-color:#cee7f7; border-right-width:1px; ">属性</td>
    <td width="50" align="center" style=" height:20px; border-right-style:dotted; border-right-color:#cee7f7; border-right-width:1px; ">备注</td>
    <td width="80" align="center">操作</td>
  </tr>
 <%=Result %>
  
</table>
	</asp:Content>

